package com.jubaozan.framework.sentinel.stat.traffic.config;

import java.util.Arrays;
import java.util.List;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author jiangjinwu
 * @version 1.0
 * @since 2025/7/28 16:56
 */

@Slf4j
@Data
@ConfigurationProperties(
    prefix = "framework.sentinel.stat.traffic"
)
public class TrafficStatConfig {
    private int order = Integer.MIN_VALUE;
    private List<String> urlPatterns = Arrays.asList("/**");
    private boolean enabled = true;
}
